﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Anywhere.Common
{
    public static class Expansions
    {
        public static bool IsNull(this IEnumerable<object> collection)
        {
            if (collection == null) return true;
            if (collection.FirstOrDefault() == null) return true;
            return false;
        }
    }
}
